package tech.lixinlei.java.bit;

public class BitDemo {

    public static void main(String[] args) {
        byte b = 4;
        System.out.println(Integer.toBinaryString(b));

        byte a = 126;
        System.out.println(Integer.toBinaryString(a & b));
    }

}
